<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
	response.setCharacterEncoding("UTF-8");
	response.setContentType("text/xml");
	response.setHeader("Cache-Control","no-cache"); 
	response.setHeader("Pragma","no-cache"); 
%>
<menu>
	<s:if test="tripForm.state==0 || tripForm.state==-1">
		<item id="c" text="编辑" action="showDialog('鼎烜电力集团网络办公平台','getTripById.action?tripForm.id=<s:property value="tripForm.id"/>',500,420);"/>
		<item id="a" text="删除" action="showDialog('鼎烜电力集团网络办公平台','gotoDeleteTrip.action?tripForm.id=<s:property value="tripForm.id"/>', 400,150);"/>
	</s:if>
	<s:if test="tripForm.state==0">
		<item id="a" text="提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>tripCheck/tripCheckAction!gotoSubmitCheck.action?id=<s:property value='tripForm.id' />&amp;proKey=trip","320","150");'/>
	</s:if>
	<s:if test="tripForm.state==-1">
		<item id="a" text="重新提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>tripCheck/tripCheckAction!gotoSubmitCheck.action?id=<s:property value='tripForm.id' />&amp;proKey=trip","320","150");'/>
	</s:if>
	<s:if test="tripForm.state==1 && #session.user.roleName==tripForm.checkRole">
		<item id="a" text="同意"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='tripForm.id' />&amp;checkIdeaForm.classFlag=trip&amp;checkIdeaForm.check=true","500","400");'/>
		<item id="a" text="驳回"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='tripForm.id' />&amp;checkIdeaForm.classFlag=trip&amp;checkIdeaForm.check=false","500","400");'/>
	</s:if>
	<s:if test="tripForm.state==100 || tripForm.state==110 || tripForm.state==-1 || tripForm.state==1">
		<item id="a" text="查看审批意见"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!getByCheckFolwId.action?checkFolwId=<s:property value='tripForm.id' />","800","500");'/>
	</s:if>
	<s:if test="tripForm.state==100 || tripForm.state==110">
		<item id="a" text="终止出差"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>person/gotoStopTrip.action?tripForm.id=<s:property value='tripForm.id' />","500","350");'/>
	</s:if>
</menu>  
